home *** CD-ROM | disk | FTP | other *** search
/ Personal Computer World 2009 February / PCWFEB09.iso / Software / Linux / Kubuntu 8.10 / kubuntu-8.10-desktop-i386.iso / casper / filesystem.squashfs / lib / partman / visual.d / mountpoint < prev    next >
Text File  |  2008-10-14  |  203b  |  20 lines

  1. #!/bin/sh
  2.  
  3. cd $1
  4.  
  5. num=$2
  6. id=$3
  7. size=$4
  8. type=$5
  9. fs=$6
  10. path=$7
  11. name=$8
  12.  
  13. if [ -f $id/visual_mountpoint ]; then
  14.     mountpoint=$(cat $id/visual_mountpoint)
  15. else
  16.     mountpoint=''
  17. fi
  18.  
  19. printf " %-20s" "$mountpoint"
  20.